<?php
/**
 * Intreface DAO
 *
 * @author: http://phpdao.com
 * @date: 2013-11-23 21:12
 */
interface BoleteriaDAO{

	/**
	 * Get Domain object by primry key
	 *
	 * @param String $id primary key
	 * @Return Boleteria 
	 */
	public function load($id);

	/**
	 * Get all records from table
	 */
	public function queryAll();
	
	/**
	 * Get all records from table ordered by field
	 * @Param $orderColumn column name
	 */
	public function queryAllOrderBy($orderColumn);
	
	/**
 	 * Delete record from table
 	 * @param boleteria primary key
 	 */
	public function delete($id_boleta);
	
	/**
 	 * Insert record to table
 	 *
 	 * @param Boleteria boleteria
 	 */
	public function insert($boleteria);
	
	/**
 	 * Update record in table
 	 *
 	 * @param Boleteria boleteria
 	 */
	public function update($boleteria);	

	/**
	 * Delete all rows
	 */
	public function clean();

	public function queryByCodigoBoleta($value);

	public function queryByNroBoleta($value);

	public function queryByTipoBoleta($value);

	public function queryByCostoBoleta($value);

	public function queryByIdEvento($value);

	public function queryByIdDeCompetencia($value);

	public function queryByIdEspacio($value);

	public function queryByEstadoBoleta($value);


	public function deleteByCodigoBoleta($value);

	public function deleteByNroBoleta($value);

	public function deleteByTipoBoleta($value);

	public function deleteByCostoBoleta($value);

	public function deleteByIdEvento($value);

	public function deleteByIdDeCompetencia($value);

	public function deleteByIdEspacio($value);

	public function deleteByEstadoBoleta($value);


}
?>